How to use CSS anchor positioning - LogRocket Blog
The 2023 State of CSS survey revealed that anchor positioning was the feature most added to reading lists by respondents.
Anchor positioning is a new layout technique in CSS that allows for more flexible element tethering without the need for JavaScript.
Browser support for anchor positioning is still limited, but there are polyfills available to use it.